<template>
  <div class="dzMember">
    <div class="box-1">
      <div class="title-top">
        <span/>
        <div class="name">
          <slot name="title"></slot>
        </div>
        <span/>
      </div>
      <div class="box-content">
        <slot name="content"></slot>
      </div>
    </div>
  </div>
</template>

<script>
  export default {

  }
</script>

<style scoped lang="scss">
.dzMember{
  margin-top: 10px;
  margin-bottom: 20px;
  width: 100%;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  .box-1{
    width: 343px;
    min-height: 100px;
    background: #FFFFFF;
    border-radius: 20px 20px 20px 20px;
    position: relative;
    .title-top{
      margin-top: -20px;
      height: 40px;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      span{
        display: flex;
        width: 29px;
        height: 8px;
        background: #5A4CBB;
        border-radius: 20px 20px 20px 20px;
        margin: 0 10px;
      }
      .name{
        width: 130px;
        height: 24px;
        background: #5A4CBB;
        border-radius: 20px 20px 20px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: #fff;
      }
    }
    .box-content{
      width: 100%;
      display: flex;
      padding: 10px;
      box-sizing: border-box;
      flex-wrap: wrap;
    }
  }
}
</style>